"""
我先思考，再调用工具，在思考"""

from langchain.chat_models import ChatOpenAI
from langchain.llms import OpenAI
from langchain.agents import AgentType
from langchain.agents import initialize_agent
from ..agent_tools.toolsss import tools
llm = ChatOpenAI(model_name="gpt-4",temperature=0)
# verbose 中间过程打开
agent = initialize_agent(
  tools,llm,agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION,verbose=True
)

agent.run('周杰伦生日那天是星期几') 